﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 多态
{
    class Div : Calculate
    {
        public Div(int a, int b) : base(a, b)
        {

        }
        public override void DisplayResult()
        {
            Console.WriteLine("{0}/{1}={2}" , a, b, a / b);
        }
    }
}
